package clientText;

import java.util.Scanner;

public class ReadRunable implements Runnable {
	
	Scanner in;
	
	ReadRunable(Scanner in){
		this.in=in;
	}

	@Override
	public void run() {
		
		 while (in.hasNextLine())
         {
            String line = in.nextLine();
            System.out.println(line);
         }
			

	}


}
